package com.hymjweb.demo.hymj.customer_manage.invoice.bean;

import com.hymjweb.demo.framework.util.pojoContrast.FieldMeta;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "b_customer_invoice")
@Data
public class BCustomerInvoicePojo implements Serializable {

    @FieldMeta(columnname = "id", name = "发票抬头ID", comment = "客户发票信息ID")
    private String id;

    @FieldMeta(columnname = "customer_id", name = "客户id", comment = "客户id,关联b_customer.id")
    private String customerId;

    @FieldMeta(columnname = "invoice_title", name = "发票抬头", comment = "发票抬头")
    private String invoiceTitle;

    @FieldMeta(columnname = "taxpayer_identification_number", name = "纳税人识别号", comment = "纳税人识别号")
    private String taxpayerIdentificationNumber;

    @FieldMeta(columnname = "phone_number", name = "电话号码", comment = "电话号码")
    private String phoneNumber;

    @FieldMeta(columnname = "invoice_address", name = "地址", comment = "地址")
    private String invoiceAddress;

    @FieldMeta(columnname = "open_account_bank_id", name = "开户银行ID", comment = "开户银行ID,关联xt_bank.id")
    private String openAccountBankId;

    @FieldMeta(columnname = "bank_account", name = "银行账号", comment = "银行账号")
    private String bankAccount;

    @FieldMeta(columnname = "invoice_type_id", name = "发票类型ID", comment = "发票类型ID，关联xt_dic.id key=XT_DIC_INVOICE_TYPE")
    private Long invoiceTypeId;

    @FieldMeta(columnname = "rate_id", name = "税率ID", comment = "税率ID,关联xt_dic.id key=XT_DIC_INVOICE_RATE")
    private Long rateId;

    @FieldMeta(columnname = "recipient_name", name = "收件人名称", comment = "收件人名称")
    private String recipientName;

    @FieldMeta(columnname = "recipient_phone", name = "收件人电话", comment = "收件人电话")
    private String recipientPhone;

    @FieldMeta(columnname = "recipient_address", name = "收件人地址", comment = "收件人地址")
    private String recipientAddress;

}
